package com.yami.shop.webservice.common.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 *
 * @author peihao
 * @date 2023/3/13
 **/
@Data
public class WorkInstRegisterDataDto {


    //作品ID
    private Long worksId;

    //受理号
    private String acceptanceNumber;

    @NotBlank(message = "作品名称不能为空")
    private String worksName;

    //作品HASH值
    private String worksHash;

    //文创链上链hash
    private String blockchainHash;

    //作品上链时间
    private LocalDateTime blockchainTime;

    //天平链存证hash值
    private String bcHash;

    //时间戳返回时间
    private String ntscTime;

    //时间戳返回信息
    private byte[] ntscRes;

    //存证证书地址
    private String certificateUrl;

    //获证时间
    private LocalDateTime obtainedTime;

    //省版权局证书编号
    private String certNo;

    //登记证书地址
    private String RegistrationCertificateUrl;

}
